package lab01;

/**
 * Created by V555 on 2017/10/8.
 */
public class Test05dowhile循环 {
    public static void main(String[] args) {
        int i=1,sum=0;
        do {
            sum=sum+i;
            i++;
        }
        while (i<=100);
        System.out.println(sum);
    }
}
